home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ham Radio
/
Ham Radio CD-ROM (Emerald Software) (1995).ISO
/
misc
/
commo41
/
commo.mac
< prev
next >
Wrap
Text File
|
1990-03-11
|
6KB
|
129 lines
┌───────────────────┐
PgDn for more macros │ Sample Macro File │ PgDn for more macros
└───────────────────┘
Move Selector Bar to desired entry, press [Enter].
Programs indicated to the right of each macro must be in your DOS path.
Macros used for DOWNLOADING (receiving) Program required
───────────────────────────────────────────────────────────────────────────
ZMODEM batch {af1} {exec DSZ port %p rz %a %w} {} DSZ.COM
YMODEM batch {af3} {exec DSZ port %p rb %a %w} {} DSZ.COM
YMODEM CRC {af5} {exec DSZ port %p rc %d\%i %a %w} {} DSZ.COM
XMODEM CRC {af7} {exec DSZ port %p rc %d\%i %a %w} {} DSZ.COM
PUMA {sf1} {exec PUMA P%p S%s r %d\ %w} {} PUMA.EXE
LYNX {cf1} {exec LYNX R /S /%s /%p %d\ %a %w} {} LYNX.EXE
CIS BPlus {sf3} {exec OZBEXT /c%p /f%d /x %w} {} OZBEXT.EXE
───────────────────────────────────────────────────────────────────────────
Macros used for UPLOADING (sending)
───────────────────────────────────────────────────────────────────────────
ZMODEM batch {af2} {exec DSZ port %p sz %u\%i %a %w} {} DSZ.COM
YMODEM batch {af4} {exec DSZ port %p sb -k %u\%i %a %w} {} DSZ.COM
YMODEM CRC {af6} {exec DSZ port %p sx -k %u\%i %a %w} {} DSZ.COM
XMODEM CRC {af8} {exec DSZ port %p sx %u\%i %a %w} {} DSZ.COM
PUMA {sf2} {exec PUMA P%p S%s s %u\%i %w} {} PUMA.EXE
LYNX {cf2} {exec LYNX S /S /%s /%p %u\%i %a %w} {} LYNX.EXE
CIS BPlus {sf4} {exec OZBEXT /c%p /f%u /x %w} {} OZBEXT.EXE
───────────────────────────────────────────────────────────────────────────
Macro to review capture file, press Shift-F8 Program required
───────────────────────────────────────────────────────────────────────────
{sF8} {exec LIST %c %w} {} LIST.COM
Simple login macro, press F1
───────────────────────────────────────────────────────────────────────────
{nf1} {send Fred|~~Brucker|~~~~#|} {} RBBS, PCBoard, Auntie, etc.
Macro to list download directory, press Alt-F10
───────────────────────────────────────────────────────────────────────────
{af0} {exec dir %d /w %w} {} Download directory
Macro to login to a PCBoard (put "pcb" in Dialing Directory macro field)
───────────────────────────────────────────────────────────────────────────
{pcb} {capture y,c:\commo\pcb.cap} {asci ,:}
{setlook 60,hng,3,n|}
{lookfor first name?} {send Fred Brucker|~#|} ═ your name here
{lookfor Main Board Command?} {return}
{hng} {hangup y} {stop}
The following macro can be executed from the command line with the
switch "/m=dda". It will login to Directory Assistance RBBS, read
and capture all messages in the MAIN, COMMO and COMM conferences,
download {COMMO} 4.0, then logoff. After 50 dialing tries it will
give up and beep twice.
(put "dir" in the Dialing Directory macro field)
───────────────────────────────────────────────────────────────────────────
{dda} {mark direc} {dial 50,bp2} {alarm 3} {}
{bp2} {beep} {beep} {}
{dir} {capture y,c:\commo\direc.cap} {asci ,:}
{setlook 60,hng,3,n|}
{lookfor first name?} {send Fred Brucker|~#|}
{call di1}
{setlook ,,3,|}
{call di2} {call di1}
{send j commo|}
{call di2} {call di1}
{send j comm|}
{call di2} {call di1}
{send j main|} {call di1}
{send d;commo40.zip;z|}
{execute dsz port %p rz} {call di1}
{send g|} {capture n} {call ncr} {return}
{di1} {lookfor your command?} {return}
{di2} {send r s c|} {lookfor [q]uit} {return}
{ncr} {setlook 10} {lookfor no carrier} {return}
The next macro is a mini host mode. It will answer on the first ring,
send a welcome message, wait for a password, then execute the batch
file "host.bat." When you exit back to DOS it will hang up and recycle
for the next call. A simple host.bat is included in the {COMMO}
package. It uses the DOS command "CTTY", but could easily be changed to
use any program such as the DoorWay program by Marshall Dudley
(available as shareware).
───────────────────────────────────────────────────────────────────────────
{hos} {parms ,2400,8} {capture y,c:\commo\host.cap} {localecho y}
{hs1} {setlook 0} {lookfor ring} {send ~~~ata|}
{lookfor connect 2400} {pause 2}
{send |^J^L Welcome!!!|^J^J Enter password: }
{setlook 5,hs2}
{lookfor f} {send .} Put your password here
{lookfor r} {send .} (my password is "fred|", | is a cr)
{lookfor e} {send .}
{lookfor d} {send .}
{lookfor |}
{send |^J^J^J Logon complete.|^J^J Calling host, please wait ...}
{exec c:\commo\host %p} {hs2} {pause 1} {hangup y} {goto hs1}
Compuserve logon macro
───────────────────────────────────────────────────────────────────────────
{cis} {setlook 45,hng,2,^c} {send ^c} {capt y,c:\arct\cap\cis.cap} {asci ,:}
{lookfor User ID:} {send 71021,356|}
{setl 20,hng} {lookfor Password:} {send #|} {}
ANSI keypad sequences
───────────────────────────────────────────────────────────────────────────
{hom} {send ^[[H} {} Home These keys are used in
{upa} {send ^[[A} {} Up Arrow full screen editors. You
{pgu} {send ^[[r} {} Page Up may redefine them to
{lfa} {send ^[[D} {} Left Arrow whatever you need.
{rta} {send ^[[C} {} Right Arrow
{end} {send ^[[K} {} End
{dna} {send ^[[B} {} Down Arrow
{pgd} {send ^[[q} {} Page Down
{ins} {send ^[[n} {} Insert
{del} {send } {} Delete